<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/static/include/taglib.jsp"%>
<!DOCTYPE html >
<html>
<head>
 <meta name="viewport" content="width=device-width" />
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
 <title>后台管理--机构列表</title>

 <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet" />
 <link href="${ctxStatic}/ligeruilib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css">
 <link href="${ctxStatic}/css/kpiui.css" rel="stylesheet" />
 <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
 <script src="${ctxStatic}/layui/layui.all.js"  type="text/javascript"></script>
 <script src="${ctxStatic}/ligeruilib/ligerUI/js/core/base.js" type="text/javascript"></script>
 <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
 <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerTree.js" type="text/javascript"></script>
  <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
 <script src="${ctxStatic}/js/sys/org.js"  type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>


    <script>
var ctxStatic="${ctxStatic}";
var ctx="${ctx}";
</script>
</head>
<body>
 <div class="currentnav"><span class="tiao"></span><span class="navtitle">机构管理</span></div>
 <div class="tabregion">
  <div class="layui-tab layui-tab-brief" lay-filter="tabcontent">
  <ul class="layui-tab-title">
    <li lay-id="1"  class="layui-this">机构列表</li>
    <li lay-id="2">添加/编辑</li>
  </ul>
  
  <div class="layui-tab-content" style="height: 100px;">
    <div class="layui-tab-item layui-show">
      <div class="content">
	   <div id="list" class="list" lay-filter="list"></div>
	    <script type="text/html" id="operate">
        <!-- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>-->
         <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
        </script>
        
        <div  class="tree-content" id="tree-content">
           <ul id="tree"></ul>
        </div>
	 </div>
    </div>
     
    <div class="layui-tab-item">
     <div class="form-region" >
        <form class="layui-form" id="formedit" name="formedit" action="add_org" method="post" target="d41d8cd98f00b204e9800998ecf8427e">
         <iframe name="d41d8cd98f00b204e9800998ecf8427e" src="about:blank" style="display:none;"></iframe>
         <div style="width:60%;margin:0 auto" id="regionwidth">
          <table>
            <tr>
             <td class="td_right">上级机构：</td>
             <td class="td_left">
               <!--  <select name="parentid" lay-verify="required" id="parentid">
                <option value="0">请选择上级机构</option>
                <c:forEach var="item" items="${lst}">
                  <option value="${item.orgid}">&nbsp;${item.orgname}</option>
                </c:forEach>
               </select>-->
              <input type="text" id="parentid"   style="padding-left:5px;height:32px;position: absolute;top:-1px;left:-1px;z-index: -1;display: none" class="layui-input">
              <input type="hidden" id="hidparentid"  name="parentid" value="0">
             </td>
            </tr>
            <!--  <tr>
             <td class="td_right">机构编码：</td>
             <td class="td_left">
               <input type="text" id="orgcode" name="orgcode" lay-verify="required" autocomplete="off"  class="layui-input" >
             </td>
            </tr>-->
            <tr>
             <td class="td_right">机构名称：</td>
             <td class="td_left">
               <input type="text" id="orgname" name="orgname" lay-verify="required" autocomplete="off"  class="layui-input" >
             </td>
            </tr>
            <tr>
             <td class="td_right">排序：</td>
             <td class="td_left">
               <input type="text" id="orderindex" name="orderindex" lay-verify="required|number" autocomplete="off"  class="layui-input" >
             </td>
            </tr>
            <tr>
             <td class="td_right">描述：</td>
             <td class="td_left">
               <textarea class="layui-textarea"  name="remark" ></textarea>
             </td>
            </tr>
            <tr>
             <td class="td_center" colspan="2">
              <button class="button" lay-submit="" lay-filter="demo1" id="btnsave">保存</button>
		      <input type="button" value="返回列表" class="button" onclick="vOrg.OpTab(1)"/>
             </td>
            </tr>
          </table>

		  
		  </div>
		  
		   <input type="hidden" name="orgid" id="orgid" value="0" >
		  
	  </form>
     </div>
     
    </div>
    <div class="layui-tab-item">
     <!--  <ul id="tree"></ul>-->
    </div>
  </div>
  </div>
 
 </div>
 
 
</body>
</html>